<template>
  <!-- <div> -->
  <el-dialog title="出差补助标准-编辑" :visible.sync="ishEvbj" width="40%" :before-close="Close">
    <el-form ref="form" :label-position="labelPosition" :inline="true" :model="form" label-width="80px">
      <el-row>
        <el-col :span="100">
          <el-form-item label="单位">
            <el-input v-model="form.input1" size="mini" disabled></el-input>
          </el-form-item>
          <el-form-item label="部门">
            <el-input v-model="form.input2" size="mini" disabled></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="100">
          <el-form-item label="职务">
            <el-input v-model="form.input3" size="mini" disabled></el-input>
          </el-form-item>
          <el-form-item label="补助标准">
            <el-input v-model="form.input4" size="mini"></el-input>
          </el-form-item>
        </el-col>
      </el-row> 

      <div class="flex_evenly">
        <!-- <p> -->
        <el-button size="small" class="qew" type="success" @click="outEvection">提交</el-button>
        <el-button size="small" type="danger" @click="Close">关闭</el-button>
        <!-- </p> -->
      </div>
    </el-form>
  </el-dialog>
  <!-- </div> -->
</template>

<script>
export default {
  data() {
    return {
      input: 212.03,
      labelPosition: 'right',
      ishEvbj: true,
      form: {
        input1: '华电',
        input2: '技术部',
        input3: '策划',
        input4: '423'
      }
    }
  },

  methods: {
    Close(done) {
      if (this.loading) {
        return
      }
      this.$confirm('你确定要离开吗？')
        .then(_ => {
          this.ishEvbj = false
        })
        .catch(_ => {})
    },
    openbj() {
      this.ishEvbj = true
    },
    outEvection() {
      this.ishEvbj = false
    }
  }
}
</script>

<style lang="scss" scoped>
.Information {
  width: 100%;
  p {
    margin: 0px auto;
    width: 80%;
    .qew {
      margin-left: 62% !important;
    }
    .el-button {
      margin-right: 0%;
      margin-top: 2%;
      margin-left: 5%;
      margin-bottom: 5%;
      /* text-align: center; */
      width: 70px;
    }
  }
}
// ::v-deep .el-input.is-disabled .el-input__inner {
//   background-color: #fff;
//   border-color: #e4e7ed;
//   color: #606266;
//   cursor: not-allowed;
// }
// ::v-deep .el-textarea.is-disabled .el-textarea__inner {
//   background-color: #fff;
// }
</style>
